package com.atdel.demo33;


/**
 * @BelongsProject: java_study
 * @BelongsPackage: com.atdel.demo32
 * @Author: Del
 * @CreateTime: 2025-03-30  17:07
 * @Description: 具体的飞禽类 鸽子
 * @Version: 1.0
 */
public class Pigeon extends Bird{
    public Pigeon(String name) {
        super(name);
    }

    @Override
    public void eat() {
        System.out.println(getName() + " 正在啄食谷物");
    }
}
